#!/usr/bin/python3

from tkinter import *
from tkinter import ttk

class App():
    def __init__(self):
        self.root = Tk()
        self.frame = Frame(self.root)

    def addScales(self):
        Scale(self.frame, from_ = 0, to = 42, tickinterval=5, length= 200, 
                resolution=5, orient=VERTICAL).pack()
        Scale(self.frame, from_ = 0, to = 42, tickinterval=5, length= 200, 
                resolution=5, orient=HORIZONTAL).pack()

    def run(self):
        self.addScales()
        self.frame.pack()
        self.root.mainloop()

if __name__ == "__main__":
    app = App()
    app.run()
